package com.lph.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.lph.model.User;
import com.lph.service.BaseServiceI;


@Controller
@RequestMapping("/uc")
public class UserController extends BaseController<User>{
	
	@Resource(name="userService")
	private BaseServiceI<User> usi;
	
	@Override
	public List<User> find(User t) {
		
		return usi.find(t);
	}
	
	@RequestMapping("/user.coc")
	public String user(){
		return "/user/user";
		
	}
}
